package org.hope.result;

import java.util.ArrayList;
import java.util.List;

import org.hope.util.CodeValuePair;

/**
 * @author Thilanka
 */
public class RefineCriteria extends Result
{

	public RefineCriteria()
	{
		super( RESULT_TYPE_CRITERA );
		setScore( 10 );
	}

	private String question;
	private List<CodeValuePair<String, String>> options;

	public String getQuestion()
	{
		return question;
	}

	public void setQuestion( String question )
	{
		this.question = question;
	}

	public List<CodeValuePair<String, String>> getOptions()
	{
		if ( options == null )
		{
			options = new ArrayList<CodeValuePair<String, String>>();
		}
		return options;
	}

	public void setOptions( List<CodeValuePair<String, String>> options )
	{
		this.options = options;
	}

}
